﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SF.WebClient.Controllers
{
    public class TreegridController : BasicController
    {
        public void ViewTreegridCssSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.css");
        }

        #region dataPlain 支持平滑数据

        public ViewResult DataPlainDemo()
        {
            return View();
        }

        public PartialViewResult DataPlainSource()
        {
            return PartialView();
        }

        public void ViewDataPlainSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.dataPlain.js");
        }

        public PartialViewResult DataPlainExplain()
        {
            return PartialView();
        }

        #endregion

        #region getRowInfo 获取节点数据

        public ViewResult GetRowInfoDemo()
        {
            return View();
        }

        public PartialViewResult GetRowInfoSource()
        {
            return PartialView();
        }

        public void ViewGetRowInfoSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.getRowInfo.js");
        }

        public PartialViewResult GetRowInfoExplain()
        {
            return PartialView();
        }

        #endregion

        #region tooltip 显示行列的提示信息

        public ViewResult TooltipDemo()
        {
            return View();
        }

        public PartialViewResult TooltipSource()
        {
            return PartialView();
        }

        public void ViewTooltipSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.tooltip.js");
        }

        public PartialViewResult TooltipExplain()
        {
            return PartialView();
        }

        #endregion

        #region checkPosition 检查节点位置

        public ViewResult CheckPositionDemo()
        {
            return View();
        }

        public PartialViewResult CheckPositionSource()
        {
            return PartialView();
        }

        public void ViewCheckPositionSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.checkPosition.js");
        }

        public PartialViewResult CheckPositionExplain()
        {
            return PartialView();
        }

        #endregion

        #region rowState 获取行状态

        public ViewResult RowStateDemo()
        {
            return View();
        }

        public PartialViewResult RowStateSource()
        {
            return PartialView();
        }

        public void ViewRowStateSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.rowState.js");
        }

        public PartialViewResult RowStateExplain()
        {
            return PartialView();
        }

        #endregion

        #region selectCheck 选择选中行

        public ViewResult SelectCheckDemo()
        {
            return View();
        }

        public PartialViewResult SelectCheckSource()
        {
            return PartialView();
        }

        public void ViewSelectCheckSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.selectCheck.js");
        }

        public PartialViewResult SelectCheckExplain()
        {
            return PartialView();
        }

        #endregion

        #region liveSearch 高亮关键词查询

        public ViewResult LiveSearchDemo()
        {
            return View();
        }

        public PartialViewResult LiveSearchSource()
        {
            return PartialView();
        }

        public void ViewLiveSearchSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.liveSearch.js");
        }

        public PartialViewResult LiveSearchExplain()
        {
            return PartialView();
        }

        #endregion

        #region cascadeCheck 级联选中

        public ViewResult CascadeCheckDemo()
        {
            return View();
        }

        public PartialViewResult CascadeCheckSource()
        {
            return PartialView();
        }

        public void ViewCascadeCheckSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.cascadeCheck.js");
        }

        public PartialViewResult CascadeCheckExplain()
        {
            return PartialView();
        }

        #endregion



        #region operateRow 操作行数据

        public ViewResult OperateRowDemo()
        {
            return View();
        }

        public PartialViewResult OperateRowSource()
        {
            return PartialView();
        }

        public void ViewOperateRowSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/treegrid/jeasyui.extensions.treegrid.operateRow.js");
        }

        public PartialViewResult OperateRowExplain()
        {
            return PartialView();
        }

        #endregion
    }
}